package qingke.hibernate.Interceptor;

import java.io.Serializable;

import org.hibernate.EmptyInterceptor;
import org.hibernate.type.Type;

public class QingkeInterceptor extends EmptyInterceptor{
	public boolean onLoad(Object entity,Serializable id,Object[] state,String propertyNames,Type[] type){
		System.out.println("entity"+entity);
		System.out.println("id"+id);
		return true;
	}
}
